﻿using System;
using System.Collections.Generic;

namespace ReAnimation.Domain
{
    public class Molecule
    {
        public String Name { get; set; }

        public IList<Atom> Atoms { get; set; }

        public IList<Link> Links { get; set; }

        public Molecule()
        {
            Atoms = new List<Atom>();
            Links = new List<Link>();
        }

        public override string ToString()
        {
            return Name;
        }

        public static Molecule NullMolecule()
        {
            return new NullMolecule();
        }
    }
}